package com.example.springfox.util;

/**
 * @author: hett
 * @date: 2022/1/17 15:49
 */
public enum EnumCode {

    PARAM_DB(0,"参数或者DB错误"),
    SUCCESS(1,"成功"),
    NOT_LOGIN(2,"没有登录");

    private int code;

    private String message;

    private EnumCode(int code,String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
